<template>
  <div class="child3">
    <fieldset>
      <legend><h2>child3组件</h2></legend>
      <input type="text" placeholder="请输入文本">
      <slot :msg_c="msg" name="cc"></slot>
    </fieldset>
  </div>
</template>

<script>
export default {
  name: "Child3",
  data(){
    return {
      msg:'这是Child3的msg'
    }
  }
}
</script>

<style scoped>
  .child3{
    width: 100%;
    height: 70%;
    background-color: #ffde8a;
  }
</style>